<script setup lang="ts">
  import Hello from "./Hello.vue"
  import {ref} from "vue"
  let name =ref("zhangsan")
  function a(){
    name.value = "xiaoming"
  }
</script>
<template>
  <div id="name">{{ name }}</div>
  <button @click="a">ok</button>
  <Hello pp:"hi"></Hello>
</template>
<style scoped>
  div#name{
    width: 100px;
    height: 100px;
    background-color: cadetblue;
  }
</style>